package client.event;

import java.util.EventObject;

import client.net.SessionManager;

/**
 * @author primianoc
 *
 */
public class  NewStreamEvent extends EventObject
{
	private static final long serialVersionUID = 1L;
	private String _absolutePathName = null;
	private String _streamName = null;
	private int _length = 0;
	private int _startTime;



	/**
	 * @return the _startTime
	 */
	public int getStartTime()
	{
		return _startTime;
	}


	/**
	 * @return the _length
	 */
	public int getLength()
	{
		return _length;
	}


	/**
	 * @return the _absolutePathName
	 */
	public String getAbsolutePathName()
	{
		return _absolutePathName;
	}


	/**
	 * @return the _streamName
	 */
	public String get_streamName()
	{
		return _streamName;
	}



	public NewStreamEvent(SessionManager source, String absolutePathName, 
			String streamName, int length, int startTime)
	{
		super(source);

		_absolutePathName = absolutePathName;
		_streamName = streamName;
		_length = length;
		_startTime = startTime;
	}
}